#version 430 
layout(location= 1) uniform mat4 Mmatrix;

layout(location = 0) in vec4 pos;
layout(location = 1) in vec3 color;

out vec3 vColor;
out vec3 vPos;

void main()
{
	vColor = color;
	vPos = pos.xyz;
	gl_Position = Mmatrix*pos;
}
